package edu.ncu.service;

import edu.ncu.entity.Publish;

import java.util.List;

public interface PublishService {

    List<Publish> getPublishes(int uId) ;

    Publish getPublishById(int publishId) ;

    boolean addPublish(Publish p) ;

    boolean deletePublish(int publishId) ;

    boolean updatePublish(int publishId) ;

    Publish updatePublishGreat(int publishId) ;

    List<Publish> getAllPublishes() ;

}
